package com.yzy.yzy_crm.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.yzy.yzy_crm.entity.UserRole;
import org.springframework.stereotype.Repository;

@Repository
public interface UserRoleMapper extends BaseMapper<UserRole> {
    void deleteByUserRoleId(int userId);
    boolean UpdateByUserRoleId(int roleId,int userId);
}
